package cc.facesign.admin.bean.xls;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.Data;

import java.util.Date;

/**
 * 向部门中添加用户xls表单
 */
@Data
public class AddDeptUserXls {

    @ExcelProperty("姓名")
    private String name;

    @ExcelProperty("密码")
    private String password;

    @ExcelProperty("身份号码")
    private String cardId;

    @ExcelProperty("手机号")
    private String phone;

    @ExcelProperty("邮箱")
    private String email;

    @ExcelProperty("性别（男|女|未知）")
    private String gender;

    @ExcelProperty("生日（示例：2002-01-01）")
    @DateTimeFormat("yyyy-MM-dd")
    private Date birthday;

}
